package com.cr4y0n.crayonpicturebackend.model.dto.user;

/**
 * 用户添加请求
 *
 * @author cr4y0n
 * @version 1.0.0
 */

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiOperation;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 用户创建请求
 */
@Data
@ApiModel("用户添加请求")
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class UserAddRequest implements Serializable {

    @ApiModelProperty("用户名")
    private String userName;

    @ApiModelProperty("用户账号")
    private String userAccount;

    @ApiModelProperty("用户头像")
    private String userAvatar;

    @ApiModelProperty("用户简介")
    private String userProfile;

    @ApiModelProperty("用户角色: user, admin")
    private String userRole;

    private static final long serialVersionUID = 1L;
}